import { NavLink, Outlet } from "react-router-dom"

const Luyoupages = () => {
    return <>

        <div className="box2">
            <div className="top">后台模拟</div>
            <div className="t">
                <div className="left">
                    <ul>
                        <li>
                            <NavLink to="/login">login页</NavLink>
                        </li>
                        <li>
                            <NavLink to="/my">My页面</NavLink>
                        </li>
                        <li>
                            <NavLink to="/home">Home页面</NavLink>
                        </li>
                        <li>
                            <NavLink to="/cate">Cate页面
                                <ul>
                                    <li>
                                        <NavLink to="/cate/a">Cate_a</NavLink>
                                    </li>
                                    <li>
                                        <NavLink to="/cate/b">Cate_b</NavLink>
                                    </li>
                                </ul>
                            </NavLink>
                            {/* <Outlet></Outlet> */}
                        </li>

                    </ul>
                </div>
                <div className="right">
                    <Outlet></Outlet>
                </div>
            </div>
        </div>
    </>
}

export default Luyoupages